package com.ck.express.db.entity

import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.Date

@Entity(tableName = "failed_lattice_requests")
data class FailedLatticeRequest(
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0,
    val waybillNo: String,
    val signature: String,
    val createTime: String,
    val txId: String,
    val schemeId: String,
    val createUserCode: String,
    val autoDeviceNo: String,
    val latticeNo: String,
    val mac: String,
    val destOrgCode: String,
    val latticeOrgCode: String,
    val latticeThreeCode: String,
    val daTouBi: String,
    val failureReason: String,
    val retryCount: Int = 0,
    val createTimeStamp: Long = Date().time
)